/**
 * -p	指定需要使用的payload，即攻击荷载。
 * -l	列出指定模块的所有可用资源。
 * -n	为payload预先指定一个NOP滑动长度，用于防止程序崩溃。
 * -f	指定输出格式，例如exe、elf、php、js等。
 * -e	指定需要使用的encoder编码器，以隐藏恶意代码。
 * -a	指定payload的目标架构，例如x86、x64等。
 * –platform	指定payload的目标平台，例如Windows、Linux等。
 * -s	设定有效攻击荷载的最大长度。
 * -b	设定规避字符集，以防止生成的payload中包含不可用字符。
 * -i	指定payload的编码次数。
 */

/**
 * MS -u http://10.4.7.1/index.html -p ?id = 1' and 1=2 --+
 */

public class Command_param {
    private String url;

    private String payload;

    private String source;

    private String targetArchitecture;

    private String targetPlatform;


    public Command_param() {

    }

    public Command_param(String url, String payload) {
        this.url = url;
        this.payload = payload;
    }

    public Command_param(String url, String payload, String source, String targetArchitecture, String targetPlatform) {
        this.url = url;
        this.payload = payload;
        this.source = source;
        this.targetArchitecture = targetArchitecture;
        this.targetPlatform = targetPlatform;
    }


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTargetArchitecture() {
        return targetArchitecture;
    }

    public void setTargetArchitecture(String targetArchitecture) {
        this.targetArchitecture = targetArchitecture;
    }

    public String getTargetPlatform() {
        return targetPlatform;
    }

    public void setTargetPlatform(String targetPlatform) {
        this.targetPlatform = targetPlatform;
    }

    @Override
    public String toString() {
        return "Web_param{" + url + "}";
    }
}
